package com.pctx.bibatracker.dao;

import com.pctx.bibatracker.pojo.HistoryPosition;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HistoryPositionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HistoryPosition record);

    int insertSelective(HistoryPosition record);

    HistoryPosition selectByPrimaryKey(Long id);

    List<HistoryPosition> selectAll();

    List<HistoryPosition> selectByDeviceUuid(@Param("deviceUuid") String deviceNo, @Param("startTime") String startTime, @Param("stopTime") String stopTime);

    int updateByPrimaryKeySelective(HistoryPosition record);

    int updateByPrimaryKey(HistoryPosition record);
}